class CreateShopManagers < ActiveRecord::Migration
  def change
    create_table :shop_managers do |t|
      t.references :shop
      t.references :manager

      t.timestamps
    end
    add_index :shop_managers, :shop_id
    add_index :shop_managers, :manager_id
  end
end
